<template>

	<view style="top: -400rpx">
		<!-- <view class="baf1"></view>
		<font color="white"><view class="baf"><b>安全宣传</b></view></font> -->

		<view style="background-color: #FFFFFF; width:700rpx height: 70rpx; ">
			<image src="/static/宣传页面/search.png"
				style="width: 36rpx; height: 36rpx; margin-top: 20rpx; margin-left: 20rpx;">

			</image>
			<!-- <view style="background-color: #FFFFFF; width: 650rpx; height: 60rpx;margin-top: -50rpx;margin-left: 20rpx;"></view> -->
			<input type="text" placeholder="搜索..."
				style="background-color: #FFFFFF; width: 650rpx; height: 60rpx;margin-top: -58rpx;margin-left: 70rpx;  font-size: 25rpx; " />
		</view>
		<view>

			<view>
				<p style="font-size: 45rpx;">
					<font color="#616161"><b>{{info.propagandaName}}</b></font>
				</p>
				<p style="font-size: 16rpx;" class="kh">
					<font color="#BBBBBB"><b>{{info.createTime}}</b></font>
				</p>
				<p style="font-size: 30rpx;" class="kh">
					<font color="#616161"><b>{{info.propagandaContent}}</b></font>
				</p>
				<image src="/static/x.png" style="width: 600rpx; height: 380rpx;"></image>
				<!-- <li>
						<image></image>
					</li> -->

				<!-- <image src="/static/p1.png" style="width: 800rpx; height: 480rpx;">
				
				</image>
				<image src="/static/p1.png" style=" margin-top:20rpx; width: 800rpx; height: 480rpx;">
				
				</image>
				<image src="/static/p1.png" style=" margin-top:20rpx; width: 800rpx; height: 480rpx;">
				
				</image>
				<image src="/static/p1.png" style=" margin-top:20rpx; width: 800rpx; height: 480rpx;">
				
				</image> -->

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "appa",
		data() {
			return {
				info: {}
			};
		},
		onLoad(optation) {
			console.log(optation.id)
			debugger
			this.axios({
				method: "get",
				url: "http://192.168.1.205:8080/front/propaganda/information/" + optation.id,
			}).then((res) => {
				console.log(res.data)
				if (res.status === 200) {
					this.info = res.data.data
				}
			})
		},
		methods: {
			turnDiff() {

				uni.navigateTo({
					url: '/pages/news/diffPage'
				})
			}
		}

	}
</script>

<style scoped>
	.kh {
		margin-top: 30rpx;
	}

	.kw {
		margin-top: 20rpx;
		font-size: 30rpx;
	}

	.baf1 {

		height: 30rpx;
		background-color: #2f86d9;

	}

	.baf {
		height: 80rpx;
		background-color: #2f86d9;
		text-align: center;
		font-size: 39rpx;
	}

	button::after {
		border: none;
	}

	button {
		background-color: rgba(0, 0, 0, 0);
	}
</style>
